
    
d = {}
for key in ['red', 'green', 'blue']:
    name = key.title()
    colors = dict(zip(keys, [0.]*3))
    colors[key] = 255.
    d[name] = {'values':{'ColorGroup':colors, 
                         'Color Index':{'name':name, 'value':0}}}

PALETTES = d
